package com.jishuhe;

import com.jishuhe.config.ServletConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Springboot14Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext ctx = SpringApplication.run(Springboot14Application.class, args);
        ServletConfig servletConfig = ctx.getBean(ServletConfig.class);
        System.out.println(servletConfig);
    }

}
